package com.zhangdi.demo.jdbc.mapper;

import com.zhangdi.demo.jdbc.entity.Area;
import com.zhangdi.demo.jdbc.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface UserMapper {
    List<User> findAll();
    void insert(@Param("user") User user);
//    User update(@Param("user") User user);
    String queryServerId();
}
